package com.lap.auth.adapter.driving.query.role;

import com.lap.auth.adapter.driving.query.role.po.RolePo;
import com.lap.auth.application.role.dto.RoleDto;
import java.util.List;

import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface RoleQueryConverter {

  RoleDto toDto(RolePo rolePo);

  List<RoleDto> toDtoList(List<RolePo> list);
}
